package day17.feifei.wangyunfei;

import java.io.*;

public class Product implements Serializable {
    private String name;
    private Double price;
    private Integer count;

    public Product(String name, Double price, Integer count) {
        this.name = name;
        this.price = price;
        this.count = count;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public static void main(String[] args) throws FileNotFoundException {
        File file=new File("D:\\file\\io\\sava.bin");
        FileReader fr=new FileReader(file);
        BufferedReader br=new BufferedReader(fr);
//        br.readLine();

    }
}
